/*---全屏--*/
.app-container {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
}
.full {
  width: 100%;
  height: 100%;
}
.block {
  display: block;
}
/*---清除浮动--*/
.img-box {
  background-color: #eee;
  background-size: cover;
  & > img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}
.cover-container {
  overflow: hidden;
  .cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-color: #eee;
    transform: scale(1);
    transition: transform 1s;
  }
  &:hover {
    .cover {
      transform: scale(1.05);
    }
  }
}
.cover {
  background-size: cover;
  background-position: center center;
  background-color: #eee;
}

/*---清除浮动--*/
.clear:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
}

/*---一行超出隐藏--*/
.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*---两行超出隐藏--*/
.text-ellipsis-mul {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*---常用flex--*/
.flex {
  display: flex;
}
.flex1 {
  flex: 1;
}

.column-flex {
  display: flex;
  flex-direction: column;
}

.between-flex {
  display: flex;
  justify-content: space-between;
}

.middle-flex {
  display: flex;
  align-items: center;
}

/*---居中--*/
.center-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-transform {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.center-absolute {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

/*---设置float--*/
.fl {
  float: left;
}

.fr {
  float: right;
}

// 指针换成手
.pointer {
  cursor: pointer;
}

.underline {
  cursor: pointer;
  text-decoration: underline;
}
.last-border-right {
  border-right: none !important;
}
.last-border-bottom {
  border-bottom: none !important;
}
.last-right {
  margin-right: 0 !important;
}
.last-bottom {
  margin-bottom: 0 !important;
}

/*---两套方案的div--*/
@media (max-width: 768px) {
  .pc-div {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-div {
    display: none;
  }
}

@keyframes fadeInTop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes fadeInBottom {
  from {
    opacity: 0.5;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-bottom {
  animation: fadeInBottom 0.5s;
}
.fade-in-top {
  animation: fadeInTop 0.5s;
}

.container {
  width: 6.7rem;
  margin: 0 auto;
}

// 新空白页

.no-data {
  margin-top: 2rem;
  text-align: center;
}
.no-data-img {
  margin-bottom: 0.36rem;
  width: 6rem;
  height: 3.6rem;
}
.no-data-text {
  margin-left: 0.4rem;
  font-size: 0.3rem;
  color: rgba(149, 148, 157, 1);
  font-family: PingFangSC-Regular;
}

.input-placeholder {
  font-size: 0.24rem;
  color: #95949d;
}

.choose-title {
  height: 1rem;
  width: 6.7rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0.24rem;
  color: #8b909d;
  .before {
    height: 0.02rem;
    width: 6.7rem;
    position: absolute;
    background: #eeeeee;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
  .title {
    position: relative;
    background: white;
    padding: 0 0.3rem;
    color: #8b909d;
  }
}
